import service from '@/utils/request';

//查询问卷
export const surveyService = (surveyId) => {
    return service.get(`/feedback/getPercent?surveyId=${surveyId}`);
};
//查看建议
export const suggestionService = (surveyId) => {
    return service.get(`/feedback?surveyId=${surveyId}`);
};


// 学生提交问卷
export const submitSurveyService = (feedbackData) => {
    return service.post(`/feedback`, feedbackData);
};